package org.edu.modules.sxjy.vo;

import java.io.Serializable;
import org.edu.modules.sxjy.common.noresubmit.CacheParam;
import org.edu.modules.sxjy.oss.FileDTO;

public class VePracticeReqVo
        implements Serializable
{
    @CacheParam(name="isPro")
    private int isPro;
    @CacheParam(name="payment")
    private int payment;
    @CacheParam(name="fileDTO")
    private FileDTO fileDTO;
    @CacheParam(name="task")
    private String task;
    @CacheParam(name="stuId")
    private int stuId;
    private String userId;

    public void setFileDTO(FileDTO fileDTO)
    {
        this.fileDTO = fileDTO;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;result = result * 59 + getIsPro();result = result * 59 + getPayment();result = result * 59 + getStuId();Object $fileDTO = getFileDTO();result = result * 59 + ($fileDTO == null ? 43 : $fileDTO.hashCode());Object $task = getTask();result = result * 59 + ($task == null ? 43 : $task.hashCode());Object $userId = getUserId();result = result * 59 + ($userId == null ? 43 : $userId.hashCode());return result;
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof VePracticeReqVo;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof VePracticeReqVo)) {
            return false;
        }
        VePracticeReqVo other = (VePracticeReqVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        if (getIsPro() != other.getIsPro()) {
            return false;
        }
        if (getPayment() != other.getPayment()) {
            return false;
        }
        if (getStuId() != other.getStuId()) {
            return false;
        }
        Object this$fileDTO = getFileDTO();Object other$fileDTO = other.getFileDTO();
        if (this$fileDTO == null ? other$fileDTO != null : !this$fileDTO.equals(other$fileDTO)) {
            return false;
        }
        Object this$task = getTask();Object other$task = other.getTask();
        if (this$task == null ? other$task != null : !this$task.equals(other$task)) {
            return false;
        }
        Object this$userId = getUserId();Object other$userId = other.getUserId();return this$userId == null ? other$userId == null : this$userId.equals(other$userId);
    }

    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public void setStuId(int stuId)
    {
        this.stuId = stuId;
    }

    public void setIsPro(int isPro)
    {
        this.isPro = isPro;
    }

    public void setPayment(int payment)
    {
        this.payment = payment;
    }

    public String toString()
    {
        return "VePracticeReqVo(isPro=" + getIsPro() + ", payment=" + getPayment() + ", fileDTO=" + getFileDTO() + ", task=" + getTask() + ", stuId=" + getStuId() + ", userId=" + getUserId() + ")";
    }

    public void setTask(String task)
    {
        this.task = task;
    }

    public int getIsPro()
    {
        return this.isPro;
    }

    public int getPayment()
    {
        return this.payment;
    }

    public FileDTO getFileDTO()
    {
        return this.fileDTO;
    }

    public String getTask()
    {
        return this.task;
    }

    public int getStuId()
    {
        return this.stuId;
    }

    public String getUserId()
    {
        return this.userId;
    }
}
